using Magiq.Insert;
using Magiq.Support;

namespace Magiq.Behaviors
{
    public interface IInsertDestinationBehavior : IMagiqBehavior
    {
        IInsertDestination<TNew> Execute<TNew>( IInsertDestinationStrategy<TNew> strategy) where TNew : class;
        IInsertDestinationStrategy<TNew> GetInsertDestinationStrategy<TDestination, TNew>(IInsertDestinationDefinition<TDestination> insertDestinationDefinition)
            where TDestination : class
            where TNew : class;
    }
}